package com.zy.paratest.repository;

import com.zy.paratest.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface GrilRepository extends JpaRepository<Girl, Integer> {

    //按照名称查找
    public List<Girl> findByName(String name);

    //按照身高查找
    public List<Girl> findByHeight(Integer height);

}
